import { modal } from 'vue-strap'
import { showMsg, exportPortfolioTag } from '../../../vuex/action'

export default {
	name: 'ExportTag',
	components: {
    'vue-modal': modal
  },
	vuex: {
		actions: {
			xShowMsg: showMsg,
			xExportPortfolioTag: exportPortfolioTag
		}
	},
	data() {
    return {
      showModal: false
    }
  },
	methods: {
		exportTag() {
			let excelUrl = this.xExportPortfolioTag()
			window.location.href = excelUrl
		}
	}
}
